export default {
  computed: {
    dialogVisible: {
      get: function () {
        return this.show
      },
      set: function (data) {
        this.$emit('update:show', data)
      }
    }
  },
  props: {
    title: {
      type: String,
      default: ''
    },
    show: {
      type: Boolean,
      default: false
    }
  },
  methods: {
    closed: function () {
      const me = this
      setTimeout(function () {
        me.$emit('update:show', false)
      }, 100)

    }
  }
}
